package com.ikunkun.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ikunkun.dto.EmployeeDTO;
import com.ikunkun.dto.EmployeeLoginDTO;
import com.ikunkun.dto.EmployeePageQueryDTO;
import com.ikunkun.entity.Employee;
import com.ikunkun.result.PageResult;
import com.ikunkun.result.Result;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service

public interface EmployeeService extends IService<Employee> {


   Employee login(EmployeeLoginDTO employeeLoginDTO);




   Result<PageResult> pageQuery(EmployeePageQueryDTO employeePageQueryDTO);


    void startOrStop(Integer status, Long id);
}
